"""
打印100遍 媳妇,我错了
"""
# 1.初始化计数器
# 2.判断计数器
# 3.修改计数器
# i = 0
# while i <= 100:
#     print("媳妇 我错了,我给你唱征服")
#     print("就这样被你征服")
#     print(i)
#     i = i + 1
# 计算0~100所有数字的累加和结果

result = 0
i = 0
while i <= 100:
    result = result + i
    i = i + 1
print(f"0~100所有数字的累加和结果{result}")